/*
 *  CSE 40166, Computer Graphics, Fall 2013
 *
 *  PORT
 *  File: enemy.h
 *
 *  Kevin Sonnen
 *
 *  Description: Class representing the enemies in the game. Derived from vehicle class
 *
 */
 
#ifndef ENEMY_H
#define ENEMY_H

#include <vector>
#include <iostream>

#include "vehicle.h"
#include "ship.h"

typedef enum {ALIVE, EXPLODING, DEAD} lifeState;

class enemy : public vehicle {
	public:
		enemy();
		~enemy();
		
		virtual void draw();		// Override vehicle's virtual draw function
		void updatePosition(const ship& myShip);
		
		lifeState enemyState;
		float explosionRadius;
		std::vector<GLfloat> explosionColor;
};

#endif
